package cn.qyd.common;

/**
 * @author 邱运铎
 * @date 2024-03-16 20:35
 */
public class Teacher extends Person{
    public String work;
    public Teacher(String name, int age, String work) {
        super(name, age);
        this.work = work;
    }

    public void teachStudent() {
        System.out.println("teacher is teach student");
    }
}
